<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>Time Traveller</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="../static/css/normalize.css">
        <link rel="stylesheet" href="../static/css/main.css">
        <link rel="stylesheet" href="../static/css/demo_styles.css">
        <link rel="stylesheet" href="../static/css/demo2.css">

        <script src="js/vendor/modernizr-2.6.2.min.js"></script>
        <script>
        function delayURL(url, time) { 
			setTimeout("top.location.href='" + url + "'", time); 
		}
		var c=0
		var t
		function timedCount()
		{
			document.getElementById('msg1').innerHTML+='.'
			t=setTimeout("timedCount()",1000)
		}
		</script> 
    </head>
    <body class="dm-demo2">

        <!-- Demo Navigation -->
        <nav class="nav clearfix">
            <button class="nav-el" id="el-topleft" data-id="wait" onClick="delayURL('/commodity_list/',1200)"><span class="icon-bulb"></span></button>
            <button class="nav-el" id="el-topright" data-id="wait" onClick="delayURL('/brand_list/',1200)"><span class="icon-mail"></span></button>
            <button class="nav-el" id="el-btmleft" data-id="wait" onClick="delayURL('/category/',1200)"><span class="icon-data"></span></button>
            <button class="nav-el" id="el-btmright" data-id="wait" onClick="delayURL('test01.html',1200)"><span class="icon-phone"></span></button>
        </nav>
       
        <section class="overlay" id="wait">
        	<div class="wrap">
				<h1 id=msg1>Waiting</h1>
				<p id=msg2>Connecting to server......</p>
                <script>
					timedCount()
                </script>
            </div>
        </section>
       
        <script src="/static/javascript/jquery-1.10.2.min.js"></script>
        <script src="/static/javascript/plugins.js"></script>
        <script src="/static/javascript/demo.js"></script>
        
    </body>
</html>
